import request from '@/utils/request'
/**
 * 列表
 * @returns
 */
export function GetListAPI (query) {
    return request({
        url: '/pureut-equipment/alarmLog/list',
        method: 'GET',
        params: query
    })
}

/**
 * 人员列表
 */
export function GetDeptUserAPI () {
    return request({
        url: '/system/userSaas/getDeptUser',
        method: 'GET',


    })
}
/**
 * 设备弹窗列表
 */
export function GetPopDataListAPI (params) {
    return request({
        url: '/system/device/getPopDataList',
        method: 'GET',
        params

    })
}
/**
 * 
 * @param {*} data 
 * 新增
 */
export function RepairAPI (data) {
    return request({
        url: '/pureut-equipment/alarmLog/repair',
        method: 'POST',
        data
    })
}
/**
 * 回显
 */
export function GetViewAPI (data) {
    return request({
        url: '/pureut-equipment/alarmSetting/' + data,
        method: 'GET',


    })
}




